<?= $this->doctype() ?>

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <?= $this->headTitle(); ?>
    
    <?= $this->headMeta(); ?>
    
    <?= $this->headStyle(); ?>
    
    <?= $this->headLink(); ?>
    
    <?= $this->headScript(); ?>
</head>
<body>
    <h1 class="noDisplay"><?= $this->placeholder('Zend_View_Helper_HeadTitle');?></h1>
    
    <div id="headwrap" class="clearfix">
        
        <div class="right">
           <?= $this->render('_topnav.phtml') ?>
        </div>    
        
        <div id="logo" class="left">
            <img src="/images/layout/logo.png" alt="Shop till you drop..." />
        </div>
        
    </div>
    
    <div id="contentWrap" class="clearfix">
        <div class="left categorylist">
            <div class="left categorylist">
                <?= $this->layout()->categoryMain; ?>
                <? if (0 < count($this->subCategories)): ?>
                <div class="sub-nav">
                    <h3>in this <span>category</span></h3>
                    <ul>
                        <? foreach ($this->subcategories as $category): ?>
                        <li>
                            <a href="<?= $this->url(
                                        array('categoryIdent' => $category->ident),
                                        'catalog_category',
                                        true
                                    ) ?>"><?= $category->name; ?></a>
                        </li>
                        <? endforeach; ?>
                    </ul>
                </div>
                <? endif; ?>
                <div>
                    <h3>in your <span>cart</span></h3>
                    <?= $this->Cart()->getSummary(); ?>
                </div>
            </div>
        </div>
        <div class="content left">
            <?= $this->layout()->content; ?> 
       </div>
    </div>
    
    <div id="footer" class="clearfix">
        <div class="left">
            <span class="rss"><a href="/rss" title="products feed">RSS 2.0</a></span>
        </div>
        <div class="right">
            &#169; 2008 Keith Pope
        </div>
    </div>
</body>
</html>